import java.awt.List;


public class Student {
		public String name;
		
		public Student(String name) {
			this.name = name;
		}
		
		
		@Override
		public boolean equals(Object obj) {
			//return super.equals(obj);
			Student test= (Student)obj;
			return name.equals(test.name);
		}
		
		
		
//		public boolean equals(Student obj) {
//				return name.equals(obj.name);
//		}
//		
//		public boolean equals(String testname) {
//			return name.equals(testname);
//	}
		
		
		
}
